<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑</title>
    <link href="/static/common/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="/static/common/css/bootstrap-theme.min.css" rel="stylesheet" media="screen">
    <link href="/static/common/css/bootstrap-admin-theme.css" rel="stylesheet" media="screen">
    <link href="/static/common/vendors/bootstrap-datepicker/css/datepicker.css" rel="stylesheet" media="screen">
    <link href="/static/common/css/datepicker.fixes.css" rel="stylesheet" media="screen">
    <link href="/static/common/vendors/uniform/themes/default/css/uniform.default.min.css" rel="stylesheet" media="screen">
    <link href="/static/common/css/uniform.default.fixes.css" rel="stylesheet" media="screen">
    <link href="/static/common/vendors/chosen.min.css" rel="stylesheet" media="screen">
    <link href="/static/common/vendors/bootstrap-wysihtml5-rails-b3/vendor/assets/stylesheets/bootstrap-wysihtml5/core-b3.css" rel="stylesheet" media="screen">
    #parse("./layout/common.html")
    <!--[if lt IE 9]>
    <script type="text/javascript" src="/static/common/js/html5shiv.js"></script>
    <script type="text/javascript" src="/static/common/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <div class="panel-heading clearfix">
        <span class="text-muted bootstrap-admin-box-title">操作Banner</span>
        <span class="pull-right">状态：<span style="color: red">$!velocityUtil.showStatus($!banner.status)</span></span>
    </div>
    <div class="bootstrap-admin-no-table-panel-content bootstrap-admin-panel-content collapse in">
        <form class="form-horizontal" id="bannerForm">
            <input class="hide" id="id" name="id" #if($!banner.id) value="$!banner.id" #else value="0" #end>
            <fieldset>
                <div class="form-group">
                    <label class="col-lg-2 control-label" for="title">标题</label>
                    <div class="col-lg-10">
                        <input class="form-control" id="title" name="title" type="text" value="$!banner.title">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label" for="description">简介</label>
                    <div class="col-lg-10">
                        <input class="form-control" id="description" name="description" type="text" value="$!banner.description">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label" for="url">图片</label>
                    <div class="col-lg-10">
                        <input class="form-control" id="url" name="url" type="text" value="$!banner.url">
                    </div>
                </div>
                <button type="submit" class="btn btn-primary bannerSubmit">保存</button>
                <button type="reset" class="btn btn-default bannerClose">关闭</button>
            </fieldset>
        </form>
    </div>
<script type="text/javascript" src="/static/common/js/twitter-bootstrap-hover-dropdown.min.js"></script>
<script type="text/javascript" src="/static/common/vendors/uniform/jquery.uniform.min.js"></script>
<script type="text/javascript" src="/static/common/vendors/chosen.jquery.min.js"></script>
<script type="text/javascript" src="/static/common/vendors/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script type="text/javascript" src="/static/common/vendors/bootstrap-wysihtml5-rails-b3/vendor/assets/javascripts/bootstrap-wysihtml5/wysihtml5.js"></script>
<script type="text/javascript" src="/static/common/vendors/bootstrap-wysihtml5-rails-b3/vendor/assets/javascripts/bootstrap-wysihtml5/core-b3.js"></script>
<script type="text/javascript" src="/static/common/vendors/twitter-bootstrap-wizard/jquery.bootstrap.wizard-for.bootstrap3.js"></script>
<script type="text/javascript" src="/static/common/vendors/boostrap3-typeahead/bootstrap3-typeahead.min.js"></script>
<script type="text/javascript" src="/static/js/banner.js"></script>
</body>
</html>